<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width,initial-scale=1.0">
    <link rel="icon" href="<%= BASE_URL %>favicon.ico"> 
    <!-- 优化策略：首页内容定制 -->
    <!--  用CDN形式导入所有的  JS和CS  文件可以减少 ，项目发布时候的内存  -->
    <!-- vue.config.js ： isProd  判断 -->
    <title><%= htmlWebpackPlugin.options.isProd ? '电子竞技 没有睡觉':'认清形式 放弃幻想 - 开发版' %></title>
    <% if(htmlWebpackPlugin.options.isProd){ %>
    <!-- nprogress 的样式表文件 -->
    <link href="https://cdn.staticfile.org/nprogress/0.2.0/nprogress.min.css" rel="stylesheet">
    <!-- 富文本编辑器的样式表文件 -->
    <link href="https://cdn.staticfile.org/quill/1.3.7/quill.bubble.min.css" rel="stylesheet">
    <link href="https://cdn.staticfile.org/quill/1.3.7/quill.core.min.css" rel="stylesheet">
    <link href="https://cdn.staticfile.org/quill/1.3.7/quill.snow.min.css" rel="stylesheet">
    <!-- element UI -->
    <link href="https://cdn.bootcdn.net/ajax/libs/element-ui/2.9.2/theme-chalk/index.css" rel="stylesheet">

    <!-- JS -->
    <script src="https://cdn.staticfile.org/vue/2.6.11/vue.min.js"></script>
    <script src="https://cdn.staticfile.org/vue-router/3.2.0/vue-router.js"></script>
    <script src="https://cdn.staticfile.org/axios/0.19.2/axios.min.js"></script>
    <script src="https://cdn.staticfile.org/lodash.js/4.17.2/lodash.min.js"></script>
    <script src="https://cdn.staticfile.org/echarts/4.9.0-rc.1/echarts.min.js"></script>
    <script src="https://cdn.staticfile.org/nprogress/0.2.0/nprogress.js"></script>
    <!-- 富文本编辑器的js文件-->
    <script src="https://cdn.staticfile.org/quill/1.3.7/quill.min.js"></script>
    <script src="https://cdn.jsdelivr.net.org/npm/vue-quill-editor@3.0.4/dist/vue-quill-editor.js"></script>

    <!-- element ui -->
    <script src="https://cdn.bootcdn.net/ajax/libs/element-ui/2.9.2/index.js"></script>
    <% } %>
  </head>
  <body>
    <noscript>
      <strong>We're sorry but <%= htmlWebpackPlugin.options.title %> doesn't work properly without JavaScript enabled. Please enable it to continue.</strong>
    </noscript>
    <div id="app"></div>
    <!-- built files will be auto injected -->
  </body>
</html>

